Optimal. Leaf size=179 \[ \frac {e^4 \left (5 c d^2-4 a e^2\right ) x}{c^5 d^5}+\frac {e^5 x^2}{2 c^4 d^4}-\frac {\left (c d^2-a e^2\right )^5}{3 c^6 d^6 (a e+c d x)^3}-\frac {5 e \left (c d^2-a e^2\right )^4}{2 c^6 d^6 (a e+c d x)^2}-\frac {10 e^2 \left (c d^2-a e^2\right )^3}{c^6 d^6 (a e+c d x)}+\frac {10 e^3 \left (c d^2-a e^2\right )^2 \log (a e+c d x)}{c^6 d^6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 179, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {640, 45}
\begin {gather*} -\frac {10 e^2 \left (c d^2-a e^2\right )^3}{c^6 d^6 (a e+c d x)}-\frac {5 e \left (c d^2-a e^2\right )^4}{2 c^6 d^6 (a e+c d x)^2}-\frac {\left (c d^2-a e^2\right )^5}{3 c^6 d^6 (a e+c d x)^3}+\frac {10 e^3 \left (c d^2-a e^2\right )^2 \log (a e+c d x)}{c^6 d^6}+\frac {e^4 x \left (5 c d^2-4 a e^2\right )}{c^5 d^5}+\frac {e^5 x^2}{2 c^4 d^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 640
Rubi steps
\begin {align*} \int \frac {(d+e x)^9}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^4} \, dx &=\int \frac {(d+e x)^5}{(a e+c d x)^4} \, dx\\ &=\int \left (\frac {5 c d^2 e^4-4 a e^6}{c^5 d^5}+\frac {e^5 x}{c^4 d^4}+\frac {\left (c d^2-a e^2\right )^5}{c^5 d^5 (a e+c d x)^4}+\frac {5 e \left (c d^2-a e^2\right )^4}{c^5 d^5 (a e+c d x)^3}+\frac {10 e^2 \left (c d^2-a e^2\right )^3}{c^5 d^5 (a e+c d x)^2}+\frac {10 e^3 \left (c d^2-a e^2\right )^2}{c^5 d^5 (a e+c d x)}\right ) \, dx\\ &=\frac {e^4 \left (5 c d^2-4 a e^2\right ) x}{c^5 d^5}+\frac {e^5 x^2}{2 c^4 d^4}-\frac {\left (c d^2-a e^2\right )^5}{3 c^6 d^6 (a e+c d x)^3}-\frac {5 e \left (c d^2-a e^2\right )^4}{2 c^6 d^6 (a e+c d x)^2}-\frac {10 e^2 \left (c d^2-a e^2\right )^3}{c^6 d^6 (a e+c d x)}+\frac {10 e^3 \left (c d^2-a e^2\right )^2 \log (a e+c d x)}{c^6 d^6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 259, normalized size = 1.45 \begin {gather*} \frac {47 a^5 e^{10}+a^4 c d e^8 (-130 d+81 e x)+a^3 c^2 d^2 e^6 \left (110 d^2-270 d e x-9 e^2 x^2\right )-a^2 c^3 d^3 e^4 \left (20 d^3-270 d^2 e x+90 d e^2 x^2+63 e^3 x^3\right )-5 a c^4 d^4 e^2 \left (d^4+12 d^3 e x-36 d^2 e^2 x^2-18 d e^3 x^3+3 e^4 x^4\right )+c^5 d^5 \left (-2 d^5-15 d^4 e x-60 d^3 e^2 x^2+30 d e^4 x^4+3 e^5 x^5\right )+60 e^3 \left (c d^2-a e^2\right )^2 (a e+c d x)^3 \log (a e+c d x)}{6 c^6 d^6 (a e+c d x)^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.73, size = 300, normalized size = 1.68
method | result | size |
default | \(-\frac {e^{4} \left (-\frac {1}{2} c d e \,x^{2}+4 a \,e^{2} x -5 c \,d^{2} x \right )}{c^{5} d^{5}}+\frac {10 e^{2} \left (e^{6} a^{3}-3 e^{4} d^{2} a^{2} c +3 d^{4} e^{2} c^{2} a -d^{6} c^{3}\right )}{c^{6} d^{6} \left (c d x +a e \right )}-\frac {-a^{5} e^{10}+5 a^{4} c \,d^{2} e^{8}-10 a^{3} c^{2} d^{4} e^{6}+10 a^{2} c^{3} d^{6} e^{4}-5 a \,c^{4} d^{8} e^{2}+c^{5} d^{10}}{3 c^{6} d^{6} \left (c d x +a e \right )^{3}}+\frac {10 e^{3} \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+c^{2} d^{4}\right ) \ln \left (c d x +a e \right )}{c^{6} d^{6}}-\frac {5 e \left (a^{4} e^{8}-4 a^{3} c \,d^{2} e^{6}+6 a^{2} c^{2} d^{4} e^{4}-4 a \,c^{3} d^{6} e^{2}+c^{4} d^{8}\right )}{2 c^{6} d^{6} \left (c d x +a e \right )^{2}}\) | \(300\) |
risch | \(\frac {e^{5} x^{2}}{2 c^{4} d^{4}}-\frac {4 e^{6} a x}{c^{5} d^{5}}+\frac {5 e^{4} x}{c^{4} d^{3}}+\frac {\left (10 a^{3} c d \,e^{8}-30 a^{2} c^{2} d^{3} e^{6}+30 a \,c^{3} d^{5} e^{4}-10 c^{4} d^{7} e^{2}\right ) x^{2}+\frac {5 e \left (7 a^{4} e^{8}-20 a^{3} c \,d^{2} e^{6}+18 a^{2} c^{2} d^{4} e^{4}-4 a \,c^{3} d^{6} e^{2}-c^{4} d^{8}\right ) x}{2}+\frac {47 a^{5} e^{10}-130 a^{4} c \,d^{2} e^{8}+110 a^{3} c^{2} d^{4} e^{6}-20 a^{2} c^{3} d^{6} e^{4}-5 a \,c^{4} d^{8} e^{2}-2 c^{5} d^{10}}{6 c d}}{c^{5} d^{5} \left (c d x +a e \right )^{3}}+\frac {10 e^{7} \ln \left (c d x +a e \right ) a^{2}}{c^{6} d^{6}}-\frac {20 e^{5} \ln \left (c d x +a e \right ) a}{c^{5} d^{4}}+\frac {10 e^{3} \ln \left (c d x +a e \right )}{c^{4} d^{2}}\) | \(311\) |
norman | \(\frac {\frac {110 a^{5} e^{10}-175 a^{4} c \,d^{2} e^{8}+11 a^{3} c^{2} d^{4} e^{6}-20 a^{2} c^{3} d^{6} e^{4}-5 a \,c^{4} d^{8} e^{2}-2 c^{5} d^{10}}{6 c^{6} d^{3}}+\frac {e^{8} x^{8}}{2 c d}+\frac {\left (110 a^{5} e^{16}+635 a^{4} c \,d^{2} e^{14}-664 a^{3} c^{2} d^{4} e^{12}-776 a^{2} c^{3} d^{6} e^{10}-491 a \,c^{4} d^{8} e^{8}-326 c^{5} d^{10} e^{6}\right ) x^{3}}{6 c^{6} d^{6} e^{3}}+\frac {\left (110 a^{5} e^{14}+95 a^{4} c \,d^{2} e^{12}-334 a^{3} c^{2} d^{4} e^{10}-122 a^{2} c^{3} d^{6} e^{8}-104 a \,c^{4} d^{8} e^{6}-37 c^{5} d^{10} e^{4}\right ) x^{2}}{2 c^{6} d^{5} e^{2}}+\frac {\left (110 a^{5} e^{12}-85 a^{4} c \,d^{2} e^{10}-124 a^{3} c^{2} d^{4} e^{8}-29 d^{6} e^{6} c^{3} a^{2}-25 a \,c^{4} d^{8} e^{4}-7 e^{2} d^{10} c^{5}\right ) x}{2 c^{6} d^{4} e}+\frac {\left (90 a^{4} e^{14}+45 a^{3} c \,d^{2} e^{12}-234 d^{4} a^{2} c^{2} e^{10}-97 a \,c^{3} d^{6} e^{8}-154 c^{4} d^{8} e^{6}\right ) x^{4}}{2 c^{5} d^{5} e^{2}}+\frac {\left (60 a^{3} e^{12}-75 a^{2} c \,d^{2} e^{10}-9 d^{4} c^{2} a \,e^{8}-88 d^{6} e^{6} c^{3}\right ) x^{5}}{2 c^{4} d^{4} e}-\frac {e^{7} \left (5 e^{2} a -13 c \,d^{2}\right ) x^{7}}{2 c^{2} d^{2}}}{\left (c d x +a e \right )^{3} \left (e x +d \right )^{3}}+\frac {10 e^{3} \left (a^{2} e^{4}-2 a c \,d^{2} e^{2}+c^{2} d^{4}\right ) \ln \left (c d x +a e \right )}{c^{6} d^{6}}\) | \(570\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 308, normalized size = 1.72 \begin {gather*} -\frac {2 \, c^{5} d^{10} + 5 \, a c^{4} d^{8} e^{2} + 20 \, a^{2} c^{3} d^{6} e^{4} - 110 \, a^{3} c^{2} d^{4} e^{6} + 130 \, a^{4} c d^{2} e^{8} - 47 \, a^{5} e^{10} + 60 \, {\left (c^{5} d^{8} e^{2} - 3 \, a c^{4} d^{6} e^{4} + 3 \, a^{2} c^{3} d^{4} e^{6} - a^{3} c^{2} d^{2} e^{8}\right )} x^{2} + 15 \, {\left (c^{5} d^{9} e + 4 \, a c^{4} d^{7} e^{3} - 18 \, a^{2} c^{3} d^{5} e^{5} + 20 \, a^{3} c^{2} d^{3} e^{7} - 7 \, a^{4} c d e^{9}\right )} x}{6 \, {\left (c^{9} d^{9} x^{3} + 3 \, a c^{8} d^{8} x^{2} e + 3 \, a^{2} c^{7} d^{7} x e^{2} + a^{3} c^{6} d^{6} e^{3}\right )}} + \frac {c d x^{2} e^{5} + 2 \, {\left (5 \, c d^{2} e^{4} - 4 \, a e^{6}\right )} x}{2 \, c^{5} d^{5}} + \frac {10 \, {\left (c^{2} d^{4} e^{3} - 2 \, a c d^{2} e^{5} + a^{2} e^{7}\right )} \log \left (c d x + a e\right )}{c^{6} d^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 476 vs.
\(2 (169) = 338\).
time = 3.73, size = 476, normalized size = 2.66 \begin {gather*} -\frac {15 \, c^{5} d^{9} x e + 2 \, c^{5} d^{10} + 60 \, a c^{4} d^{7} x e^{3} - 81 \, a^{4} c d x e^{9} - 47 \, a^{5} e^{10} + {\left (9 \, a^{3} c^{2} d^{2} x^{2} + 130 \, a^{4} c d^{2}\right )} e^{8} + 9 \, {\left (7 \, a^{2} c^{3} d^{3} x^{3} + 30 \, a^{3} c^{2} d^{3} x\right )} e^{7} + 5 \, {\left (3 \, a c^{4} d^{4} x^{4} + 18 \, a^{2} c^{3} d^{4} x^{2} - 22 \, a^{3} c^{2} d^{4}\right )} e^{6} - 3 \, {\left (c^{5} d^{5} x^{5} + 30 \, a c^{4} d^{5} x^{3} + 90 \, a^{2} c^{3} d^{5} x\right )} e^{5} - 10 \, {\left (3 \, c^{5} d^{6} x^{4} + 18 \, a c^{4} d^{6} x^{2} - 2 \, a^{2} c^{3} d^{6}\right )} e^{4} + 5 \, {\left (12 \, c^{5} d^{8} x^{2} + a c^{4} d^{8}\right )} e^{2} - 60 \, {\left (c^{5} d^{7} x^{3} e^{3} + 3 \, a c^{4} d^{6} x^{2} e^{4} + 3 \, a^{4} c d x e^{9} + a^{5} e^{10} + {\left (3 \, a^{3} c^{2} d^{2} x^{2} - 2 \, a^{4} c d^{2}\right )} e^{8} + {\left (a^{2} c^{3} d^{3} x^{3} - 6 \, a^{3} c^{2} d^{3} x\right )} e^{7} - {\left (6 \, a^{2} c^{3} d^{4} x^{2} - a^{3} c^{2} d^{4}\right )} e^{6} - {\left (2 \, a c^{4} d^{5} x^{3} - 3 \, a^{2} c^{3} d^{5} x\right )} e^{5}\right )} \log \left (c d x + a e\right )}{6 \, {\left (c^{9} d^{9} x^{3} + 3 \, a c^{8} d^{8} x^{2} e + 3 \, a^{2} c^{7} d^{7} x e^{2} + a^{3} c^{6} d^{6} e^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.90, size = 283, normalized size = 1.58 \begin {gather*} \frac {10 \, {\left (c^{2} d^{4} e^{3} - 2 \, a c d^{2} e^{5} + a^{2} e^{7}\right )} \log \left ({\left | c d x + a e \right |}\right )}{c^{6} d^{6}} - \frac {2 \, c^{5} d^{10} + 5 \, a c^{4} d^{8} e^{2} + 20 \, a^{2} c^{3} d^{6} e^{4} - 110 \, a^{3} c^{2} d^{4} e^{6} + 130 \, a^{4} c d^{2} e^{8} - 47 \, a^{5} e^{10} + 60 \, {\left (c^{5} d^{8} e^{2} - 3 \, a c^{4} d^{6} e^{4} + 3 \, a^{2} c^{3} d^{4} e^{6} - a^{3} c^{2} d^{2} e^{8}\right )} x^{2} + 15 \, {\left (c^{5} d^{9} e + 4 \, a c^{4} d^{7} e^{3} - 18 \, a^{2} c^{3} d^{5} e^{5} + 20 \, a^{3} c^{2} d^{3} e^{7} - 7 \, a^{4} c d e^{9}\right )} x}{6 \, {\left (c d x + a e\right )}^{3} c^{6} d^{6}} + \frac {c^{4} d^{4} x^{2} e^{5} + 10 \, c^{4} d^{5} x e^{4} - 8 \, a c^{3} d^{3} x e^{6}}{2 \, c^{8} d^{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.14, size = 331, normalized size = 1.85 \begin {gather*} x\,\left (\frac {5\,e^4}{c^4\,d^3}-\frac {4\,a\,e^6}{c^5\,d^5}\right )-\frac {x^2\,\left (-10\,a^3\,c\,d\,e^8+30\,a^2\,c^2\,d^3\,e^6-30\,a\,c^3\,d^5\,e^4+10\,c^4\,d^7\,e^2\right )+x\,\left (-\frac {35\,a^4\,e^9}{2}+50\,a^3\,c\,d^2\,e^7-45\,a^2\,c^2\,d^4\,e^5+10\,a\,c^3\,d^6\,e^3+\frac {5\,c^4\,d^8\,e}{2}\right )+\frac {-47\,a^5\,e^{10}+130\,a^4\,c\,d^2\,e^8-110\,a^3\,c^2\,d^4\,e^6+20\,a^2\,c^3\,d^6\,e^4+5\,a\,c^4\,d^8\,e^2+2\,c^5\,d^{10}}{6\,c\,d}}{a^3\,c^5\,d^5\,e^3+3\,a^2\,c^6\,d^6\,e^2\,x+3\,a\,c^7\,d^7\,e\,x^2+c^8\,d^8\,x^3}+\frac {\ln \left (a\,e+c\,d\,x\right )\,\left (10\,a^2\,e^7-20\,a\,c\,d^2\,e^5+10\,c^2\,d^4\,e^3\right )}{c^6\,d^6}+\frac {e^5\,x^2}{2\,c^4\,d^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________